package com.smmisia.auth.controller;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

@Data
@HeadRowHeight(20) // 头高
@ContentRowHeight(15) // 行高
@ColumnWidth(15) // 列宽
public class UserData {

    /**
     * 主键
     */
    @ExcelProperty("用户id")
    private Integer id;
    /**
     * 名称
     */
    @ExcelProperty("用户名")
    private String username;
    /**
     * 密码
     */
    @ExcelProperty("密码")
    private String password;
    /**
     * uid
     */
    @ExcelProperty("uid")
    private String uid;
    /**
     * 邮箱
     */
    @ExcelProperty("邮箱")
    @ColumnWidth(30)
    private String email;
    /**
     * 头像
     */
    @ExcelProperty("头像")
    @ColumnWidth(60)
    private String avatar;
}
